﻿using System.IO;
using System.Text;

namespace common
{
    public class add_cc : add
    {
        public override void create_file(string path)
        {
            string strPath = "Xml/template/cc.txt";
            StreamReader sr = new StreamReader(strPath);
            string temp = sr.ReadToEnd();

            StreamWriter sw = new StreamWriter(get_filepath(path), false, Encoding.Default);
            sw.Write(temp);
            sw.Flush();
            sw.Close();
        }

        public override string get_filename(string kuozhan)
        {
            return base.get_filename(".cs");
        }
    }
}